package system.dto.sys;

//***************************************************
// 对象自动生成，可按需要修改字段与属性，自动生成不会产生覆盖
// 需要全新生成时删除本对象重新生成即可
//***************************************************

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 功能表编辑参数
 */
@Data
public class SysFuncUpdate {
    @ApiModelProperty(value = "主键")
    private String id;
    @ApiModelProperty(value = "父级id")
    private String pid;
    @ApiModelProperty(value = "功能名称")
    private String name;
    @ApiModelProperty(value = "排序序号")
    private Integer orderNum;
    @ApiModelProperty(value = "请求方式:GET/POST等")
    private String funMethod;
    @ApiModelProperty(value = "功能地址")
    private String funPath;
    @ApiModelProperty(value = "0:菜单,1:功能,2:链接,3:内嵌页")
    private Integer funType;
    @ApiModelProperty(value = "视图名称")
    private String funView;
    @ApiModelProperty(value = "菜单图标")
    private String icon;
    @ApiModelProperty(value = "可见性(0:正常, 1:不显示)")
    private Integer noVisible;
    @ApiModelProperty(value = "是否禁用(0:正常, 1:禁用)")
    private Integer isDisabled;
    @ApiModelProperty(value = "权限标识")
    private String permissionId;
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ssZ")
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ssZ")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "备注")
    private String remark;
}